<ion-view view-title="客服QQ" class="customqq">
	<!--描述：滑动块-->
	<ion-content>
		<div class="list">
			<li class="item item-input-inset">
				<span class="input-label" style="width: 20%;padding-left: 5px;">客服类型：</span>
				<label class="checkbox checkbox-square padding-0" style="width: 10%;">
					<input type="checkbox" id="QQ" checked="" value="1"  ng-click="selectKefu(1)"/>
				</label><label for="QQ" style="font-size: 10px;width: 20%;">在线客服</label>
				<label class="checkbox checkbox-square padding-0 " style="width: 10%;">
					<input type="checkbox" id="phone" value="2"  ng-click="selectKefu(2)"/>
				</label><label for="phone" style="font-size: 10px;width: 20%;">联系电话</label>
				<label class="checkbox checkbox-square padding-0 " style="width: 10%;">
					<input type="checkbox" id="wechat" value="3"  ng-click="selectKefu(3)"/>
				</label><label for="wechat" style="font-size: 10px;width: 20%;">微信</label>
			</li>
			<li class="item item-input" >
				<span class="input-label" >客服名称：</span>
				<input type="text" placeholder="请输入客服名称" ng-model="detail.name">
			</li>
			<li class="item item-input item-select " ng-show="detail.type == 1">
				<span class="input-label" >客服账号：</span>
				<div class="input-value" ng-click="doSelectType()">{{detail.selectvalue.login_name}}</div>
			</li>
			<li class="item item-input" ng-show="detail.type == 2">
				<span class="input-label" >客服账号：</span>
				<input type="text" placeholder="请输入客服账号" ng-model="detail.value">
			</li>
			<li class="item item-input" ng-show="detail.type == 3">
				<span class="input-label" >微信二维码：</span>
				<div class="file-show">
								<!--<div class="add input-file" ng-repeat="img in input.image" style="overflow: initial;">
									<img style="width: 100%;height: 100%;" src="{{img.image}}" on-tap="openFileActSheet()">
								</div>
							</div>
							<div class="add input-file" on-tap="doShowFile()">
								<span class="icon ion-plus"></span>
							</div>
							<input id="upfilebutton" type="file" multiple="multiple" accept="image/*" onchange="angular.element(this).scope().onupload(this)" style="display: none;" />-->
							
							<a class="add input-file" href="javascript:void(0);"><span class="icon ion-plus" on-tap="addStoreImg()"></span></a>
			</div>
			
			</li>
		<li class="item padding-0" ng-if="input.image.image!=null" ng-show="detail.type == 3">
				<div class="imageShow">
					<img ng-src='{{input.image.image}}' on-tap="openFileActSheet()"/>
				</div>
			</li>
		
		<div class="padding">
			<button class="button button-block button-assertive" on-tap="submit()">提交</button>
		</div>
	</ion-content>
</ion-view>